
sentence = raw_input("sentence: ")
sen_len = len(sentence)
screen_width = 80

print '+', '-' * sen_len, '+'
print '|', sentence, '|'
print '+', '-' * sen_len, '+'


